import request from '../util/request.js'
const baseUrl = "user/coupon/"

export function getUserCouponList(data) {
	return request.get(baseUrl + "list", data, {
		noAuth: false
	})
}

export function getUserOrderCouponList(data) {
	return request.get(baseUrl + "order/list", data, {
		noAuth: false
	})
}

export function getCartValidCouponList(data) {
	return request.get(baseUrl + "valid/list", data, {
		noAuth: false
	})
}
